﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WCFAvante
{
    [DataContract]
    public class DetalleGarantia
    {
        private string contratado;
        private string compañia;
        private int tiempoGarantia;
        private int tiempoRestante;

        [DataMember]
        public virtual int TiempoRestante
        {
            get
            {
                return tiempoRestante;
            }

            set
            {
                tiempoRestante = value;
            }
        }

        [DataMember]
        public virtual int TiempoGarantia
        {
            get
            {
                return tiempoGarantia;
            }

            set
            {
                tiempoGarantia = value;
            }
        }

        [DataMember]
        public virtual string Contratado
        {
            get
            {
                return contratado;
            }

            set
            {
                contratado = value;
            }
        }

        [DataMember]
        public virtual string Compañia
        {
            get
            {
                return compañia;
            }

            set
            {
                compañia = value;
            }
        }
    }
}